#ifdef __cplusplus
extern "C" {
#endif



#include "Menu.h"
#include "MenuService.h"

__bsingleton(Menu)

void __begvoid(Menu, initialize)
__begbody
	__this(Menu)->mHandle = ::CreateMenu();
__endbody

void __begheader(Menu, addItem)
    MenuItem * _tMenuItem
__begbody
    ::AppendMenu(__this(Menu)->mHandle, MF_STRING | MF_POPUP, (unsigned int)(_tMenuItem->mHandle), _tMenuItem->mText);
__endbody



#ifdef __cplusplus
}
#endif
